<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head >
    <title>编辑直播营销费用 - 直播中控台</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <script src="/layui/layui.js"></script>
    <script src="/jquery-3.3.1.min.js"></script>
</head>
<body >

<div class="layui-body" >
    <style>
        .a-input {
            height: 36px;
            line-height: 36px;
            margin-bottom: 20px;
        }

        .a-input span {
            display: inline-block;
            width: 100px;
            padding-right: 15px;
            font-size: 14px;
            text-align: right;
            color: #323232;
        }

        .a-input input {
            border: 1px solid #dcdcdc;
            height: 22px;
            line-height: 22px;
            padding: 6px 4px;
            width: 260px;
            font-size: 14px;
            border-radius: 4px;
        }

        .a-input select {
            border: 1px solid #dcdcdc;
            height: 36px;
            line-height: 36px;
            padding: 6px 4px;
            width: 260px;
            font-size: 14px;
            border-radius: 4px;
        }

        .a-input select {
            width: 260px;
        }

        .textarea-box{
            display: flex;

            padding-right: 15px;
            font-size: 14px;
            text-align: right;
            color: #323232;
        }
        .textarea-box span{
            width: 100px;
            margin-right: 20px;
        }
        .textarea-box textarea{
            border:1px solid #ccc;
            border-radius: 8px;
            padding: 5px;
        }
        .content-title {
            font-weight: bold;
            padding: 20px 40px;
            font-size: 16px;
        }
        .bussiness-table{
            width: 95%;
            margin: 0 auto;
        }
        .bussiness-table input{
            border: none;
            min-width:100px ;
            height: 36px;
            padding: 0 15px;
        }
        .bussiness-total-box{
            margin-left: 40px;
            margin-top: 30px;
        }
        .total-number{
            color: red;
            font-weight: bold;
            font-size: 16px;
        }
        .order-save{
            margin: 30px 150px
        }
        .cp-upload {
            padding: 20px 50px;
        }
        .cp-upload dt {
            clear: both;
            height: 40px;
            line-height: 40px;
        }

        .cp-upload dt span {
            display: inline-block;
            width: 100px;
            font-weight: bold;
        }

        .cp-upload dt b {
            color: #868686;
        }

        .cp-upload dd {
            padding: 0 0 20px 100px;
            min-height: 110px;
        }

        .cp-upload dd p {
            float: left;
            position: relative;
            width: 100px;
            height: 100px;
            margin: 0 20px 20px 0;
            border: 1px dashed #ccc;
        }

        .cp-upload dd p input[type="file"], .cp-upload dd p span, .cp-upload dd p img, .cp-upload dd p video, .cp-upload dd p i {
            position: absolute;
            left: 0;
            top: 0;
            z-index: 3;
            width: 100px;
            height: 100px;
            opacity: 0;
            cursor: pointer;
        }

        .cp-upload dd p img, .cp-upload dd p video {
            opacity: 1;
            z-index: 2;
        }

        .cp-upload dd p span {
            opacity: 1;
            z-index: 1;
            padding-top: 10px;
            height: 90px;
            text-align: center;
            font-size: 12px;
            color: #868686;
        }

        .cp-upload dd p span em {
            line-height: 50px;
            font-size: 40px;
            font-weight: 200;
        }

        .cp-upload dd p i {
            opacity: 1;
            z-index: 4;
            height: 20px;
            line-height: 20px;
            text-align: center;
            font-size: 12px;
            background: rgba(0, 0, 0, .8);
            color: #fff;
        }

    </style>
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>编辑直播营销费用</legend>
    </fieldset>
    <!-- start sp-wrapper -->
    <div class="sp-wrapper">
        <div class="order-body">
            <form action="/zbj/live_marketing_expenses_edit" method="post" class="layui-form" id="sp-form">
                <input type="hidden" th:value="*{id != null} ? *{id} : 0 " name="id">

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">免单金额</label>
                        <div class="layui-input-inline">
                            <input type="text" name="expenses1" lay-verify="required|number" autocomplete="off" class="layui-input" th:value="*{entity != null} ? *{entity.expenses1} : ''">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">福袋费用</label>
                        <div class="layui-input-inline">
                            <input type="text" name="expenses2" lay-verify="required|number" autocomplete="off" class="layui-input" th:value="*{entity != null} ? *{entity.expenses2} : ''">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">DOU+费用</label>
                        <div class="layui-input-inline">
                            <input type="text" name="expenses3" lay-verify="required|number" autocomplete="off" class="layui-input" th:value="*{entity != null} ? *{entity.expenses3} : ''">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">随心推费用</label>
                        <div class="layui-input-inline">
                            <input type="text" name="expenses4" lay-verify="required|number" autocomplete="off" class="layui-input" th:value="*{entity != null} ? *{entity.expenses4} : ''">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">千川费用</label>
                        <div class="layui-input-inline">
                            <input type="text" name="expenses5" lay-verify="required|number" autocomplete="off" class="layui-input" th:value="*{entity != null} ? *{entity.expenses5} : ''">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">保存</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>

            </form>
        </div>
        <div class="clear"></div>
<!--        <button type="button" id="save" class="layui-btn order-save">提交</button>-->
    </div>


    <script>
        layui.use(['laydate', 'form','layer'], function () {
            var laydate = layui.laydate;
            var layer = layui.layer;
            $(function () {
                var msg='[[${msg}]]';
                if(msg !='') layer.msg(msg);
            })
        });

    </script>
      </div>
    </div>
</div>
</body>
<html>
